Skip to content

Conversation

@cschloer
Copy link
Contributor

@cschloer cschloer commented Nov 22, 2019

Overview

Adding a preserve_missing_values parameter to the cast_value function so that we can preserve the value saved as a missing value while still properly casting to the type. This is useful for situations where the identifier used for the missing value has important information that needs to preserved in the final data set, but shouldn't get in the way of properly casting the type of the field. For example, n/a might mean that no data was recorded, but another missing_value identifier might mean that the measured amount was below the threshold of the instrument's ability to measure.

This requires changes to dataflows and datapackage_pipelines to make sure it works with the dump_to_path and set_types processors.
Those PRs are here:
frictionlessdata/datapackage-pipelines#175
datahq/dataflows#119


Please preserve this line to notify @roll (lead of this repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants